package com.dailyblue.project.estate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.ChargeItem;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

/**
 * @Auther:Liu
 * @Testname:ChargeItemService
 * @Date:2025/9/18 14:09
 */
@Service
public interface ChargeItemService extends IService<ChargeItem> {
    //添加一条数据
    JsonResult saveChargeItem(ChargeItem chargeItem);

    //查询一条数据
    JsonResult findOne(String id);

    //查询所有数据
    JsonResult findAllChargeItems();

    //删除一条数据
    JsonResult deleteChargeItem(String id);

    //更新一条数据
    JsonResult updateChargeItem(ChargeItem chargeItem);
}
